{%- extends "base.html" %}

{%- block title %}
{% trans %}Create alias{% endtrans %}
{%- endblock %}

{%- block subtitle %}
{{ domain }}
{%- endblock %}

{%- block content %}
{%- call macros.card() %}
<form class="form" method="post" role="form">
  {{ form.hidden_tag() }}
  {{ macros.form_field(form.localpart, append='<span class="input-group-text">@'+domain.name+'</span>') }}
  {{ macros.form_field(form.wildcard) }}
  {{ macros.form_field(form.destination, class_='mailselect') }}
  {{ macros.form_field(form.comment) }}
  {{ macros.form_field(form.submit) }}
</form>
{%- endcall %}
{%- endblock %}
